package com.lyf.task.test;

import java.util.UUID;

public class UUIDGenerator {


	
	public static String getShortUUID(){
		
		
		return (UUID.randomUUID()+"").substring(0,4);
	}
	
	
	public String getLongUUID(){return UUID.randomUUID()+"";}
	
	
	public static void main(String[] args){
		System.out.println(getShortUUID());
		
	}

}
